@extends('frontend/layouts/flaty_to_bootstrap')

@section('content.titley')
Edit Ems [{{  $ems->id }}] ::
@parent
@stop

    @section('content.breadcrumb.inner')
    <li><a href="{{  route('home') }}"><i class="icon-home"></i> Dashboard</a><span class="divider"><i class="icon-angle-right"></i></span></li>
    <li><a href="{{  route('car_balance.ems.index') }}"><i class="icon-home"></i> Ems list</a><span class="divider"><i class="icon-angle-right"></i></span></li>
    <li class="active">Edit Ems [{{  $ems->id }}] </li>
    @stop

@section('content.main')

<p>{{ link_to_route('car_balance.ems.index', 'Back to Ems list', null, array('class' => 'btn btn-info')) }}</p>

<div class="row-fluid">
    {{ Form::open(array('route' => array('car_balance.ems.edit', $ems->id), 'class' => 'form-horizontal')) }}

    <div  class="control-group {{ $errors->first('ems_id', ' error') }}">
        <label class="control-label" for="ems_id">Ems Id</label>
        <div class="controls">
            <input class="" placeholder="Ems Id" title="Ems Id" name="ems_id" type="text" value="{{ Input::old('ems_id', $ems->ems_id) }}">
            {{ $errors->first('ems_id', '<span class="help-inline">:message</span>') }}
        </div>
    </div>
    <div  class="control-group {{ $errors->first('send_date', ' error') }}">
        <label class="control-label" for="send_date">Send Date</label>
        <div class="controls">
            <input class="" placeholder="Send Date" title="Send Date" name="send_date" type="text" value="{{ Input::old('send_date', $ems->send_date) }}">
            {{ $errors->first('send_date', '<span class="help-inline">:message</span>') }}
        </div>
    </div>
    <div  class="control-group {{ $errors->first('fee_japan', ' error') }}">
        <label class="control-label" for="fee_japan">Fee Japan</label>
        <div class="controls">
            <input class="" placeholder="Fee Japan" title="Fee Japan" name="fee_japan" type="text" value="{{ Input::old('fee_japan', $ems->fee_japan) }}">
            {{ $errors->first('fee_japan', '<span class="help-inline">:message</span>') }}
        </div>
    </div>
    <div  class="control-group {{ $errors->first('recieve_date', ' error') }}">
        <label class="control-label" for="recieve_date">Recieve Date</label>
        <div class="controls">
            <input class="" placeholder="Recieve Date" title="Recieve Date" name="recieve_date" type="text" value="{{ Input::old('recieve_date', $ems->recieve_date) }}">
            {{ $errors->first('recieve_date', '<span class="help-inline">:message</span>') }}
        </div>
    </div>
    <div  class="control-group {{ $errors->first('fee_mongol', ' error') }}">
        <label class="control-label" for="fee_mongol">Fee Mongol</label>
        <div class="controls">
            <input class="" placeholder="Fee Mongol" title="Fee Mongol" name="fee_mongol" type="text" value="{{ Input::old('fee_mongol', $ems->fee_mongol) }}">
            {{ $errors->first('fee_mongol', '<span class="help-inline">:message</span>') }}
        </div>
    </div>
    <div  class="control-group {{ $errors->first('comment', ' error') }}">
        <label class="control-label" for="comment">Comment</label>
        <div class="controls">
            <input class="" placeholder="Comment" title="Comment" name="comment" type="text" value="{{ Input::old('comment', $ems->comment) }}">
            {{ $errors->first('comment', '<span class="help-inline">:message</span>') }}
        </div>
    </div>


    <div class="form-actions">
        {{  Form::submit('Submit', array('class' => 'btn btn-info')) }} &nbsp;&nbsp;
        {{  link_to_route('car_balance.ems.index', 'Cancel', null, array('class' => 'btn ')) }}
    </div>
    {{  Form::close() }}
@stop